<?php

declare(strict_types=1);

/*
 * This file is part of TAnt.
 * @link     https://github.com/edenleung/think-admin
 * @document https://www.kancloud.cn/manual/thinkphp6_0
 * @contact  QQ Group 996887666
 * @author   Eden Leung 758861884@qq.com
 * @copyright 2019 Eden Leung
 * @license  https://github.com/edenleung/think-admin/blob/6.0/LICENSE.txt
 */

return [
    'default' => [
        'uniqidKey'  => 'uid',
        'signerKey'  => '5t2a$O&TUx',
        'notBefore'  => 0,
        'expiresAt'  => 3600,
        'refreshTTL' => 7200,
        'signer'     => 'Lcobucci\JWT\Signer\Hmac\Sha256',
        'type'       => 'Header',
        'refresh'    => 50001,
        'relogin'    => 50002,
        'iss'        => '',
        'aud'        => '',
    ],
    'user'      => ['inject' => true, 'model' => 'app\common\model\User'],
    'blacklist' => ['cacheName' => 'blacklist'],
];
